﻿using MediatR;
using SystemWFH.API.DTO;
using SystemWFH.Domain;

namespace SystemWFH.API.Application.Command.WorkshopCommand
{
    public class WorkshopGetAllCommand:IRequest<PageDTO<Workshop>>
    {
        /// <summary>
        /// 当前页
        /// </summary>
        public int pageIndex { get; set; }
        /// <summary>
        /// 每页显示条数
        /// </summary>
        public int pageSize { get; set; }
        /// <summary>
        /// 车间编号
        /// </summary>
        public string? workshopNo { get; set; }
        /// <summary>
        /// 车间名称
        /// </summary>
        public string? workshopName { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public int workshopState { get; set; }
    }
}
